/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package client.ui.chatJPanelActivating;

/**
 *
 * @author Александр Емельянов (mr.lex91@gmail.com)
 */
public class ChatJpanelActivatedProducer {
    private ChatJpanelActivatedListener listener;
    public void setListener(ChatJpanelActivatedListener listener)
    {
        this.listener=listener;
    }
    public void activate(String nickName)
    {
        listener.chatPanelActivated(new ChatJpanelActivatedEvent(this, nickName));
    }
}
